﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LabEquipmentEdit.aspx.cs"
    Inherits="WebUI.LabManage.LabEquipmentEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager runat="server" ID="PageManager1" />
    <ext:Panel runat="server" ID="newPanel" ShowBorder="false" ShowHeader="false" Hidden="true">
        <Items>
            <ext:Form runat="server" ID="newFrom" ShowHeader="false" ShowBorder="false" EnableBackgroundColor="true"
                BodyPadding="5px">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_pNO" Label="资产编号" Required="true" ShowRedStar="true"
                                TabIndex="1">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_name" Label="设备名称" Required="true" ShowRedStar="true"
                                TabIndex="2">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:DropDownList runat="server" ID="dl_type" Label="设备类型" Required="true" TabIndex="3">
                            </ext:DropDownList>
                            <ext:DropDownList runat="server" ID="dl_usetype" Label="设备用途" Required="true" TabIndex="4">
                            </ext:DropDownList>
                            <ext:DropDownList runat="server" ID="dl_lab" Label="所属实验室" Required="true" TabIndex="5">
                            </ext:DropDownList>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_count" Label="数量" Text="1" Required="true" ShowRedStar="true" TabIndex="6">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_price" Label="单价(元)" Required="true" ShowRedStar="true" TabIndex="7">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_saller" Label="经销商" TabIndex="8">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_brand" Label="品牌" TabIndex="9">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_model" Label="型号" TabIndex="10">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_manager" Label="负责人" Text="张莉" TabIndex="11">
                            </ext:TextBox>
                            <ext:DatePicker runat="server" ID="dp_buydate" Label="购置日期" EmptyText="请选择日期" DateFormatString="yyyy-MM-dd"
                                Width="220px" TabIndex="12">
                            </ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextArea runat="server" ID="ta_functions" Label="设备功能" TabIndex="13">
                            </ext:TextArea>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
        <Toolbars>
            <ext:Toolbar runat="server" ID="newToolbar" Position="Bottom">
                <Items>
                    <ext:ToolbarFill runat="server" ID="ToolbarFill1">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnSave" runat="server" Text="保存" Icon="Add" ValidateForms="newFrom"
                        TabIndex="14" Type="Submit" OnClick="bnSave_Click">
                    </ext:Button>
                    <ext:ToolbarSeparator runat="server" ID="ToolbarSeparator1">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="Cancel" runat="server" Text="关闭" Icon="Decline">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Panel>
    <ext:Panel runat="server" ID="editPanel" ShowBorder="false" ShowHeader="false" Hidden="true">
        <Items>
            <ext:Form runat="server" ID="editForm" ShowHeader="false" ShowBorder="false" EnableBackgroundColor="true"
                BodyPadding="5px">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_edit_pNO" Label="资产编号" Required="true" ShowRedStar="true"
                                TabIndex="1">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_edit_name" Label="设备名称" Required="true" ShowRedStar="true"
                                TabIndex="2">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:DropDownList runat="server" ID="dl_edit_type" Label="设备类型" Required="true" TabIndex="3">
                            </ext:DropDownList>
                            <ext:DropDownList runat="server" ID="dl_edit_usetype" Label="设备用途" Required="true"
                                TabIndex="4">
                            </ext:DropDownList>
                            <ext:DropDownList runat="server" ID="dl_edit_lab" Label="所属实验室" Required="true" TabIndex="5">
                            </ext:DropDownList>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_edit_count" Label="数量" Required="true" ShowRedStar="true" TabIndex="6">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_edit_price" Label="单价(元)" Required="true" ShowRedStar="true" TabIndex="7">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_edit_saller" Label="经销商" TabIndex="8">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_edit_brand" Label="品牌" TabIndex="9">
                            </ext:TextBox>
                            <ext:TextBox runat="server" ID="tb_edit_model" Label="型号" TabIndex="10">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_edit_manager" Label="负责人" TabIndex="11">
                            </ext:TextBox>
                            <ext:DatePicker runat="server" ID="dp_edit_buydate" Label="购置日期" EmptyText="请选择日期"
                                DateFormatString="yyyy-MM-dd" Width="220px" TabIndex="12">
                            </ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextArea runat="server" ID="ta_edit_functions" Label="设备功能" TabIndex="13">
                            </ext:TextArea>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
        <Toolbars>
            <ext:Toolbar runat="server" ID="Toolbar1" Position="Bottom">
                <Items>
                    <ext:ToolbarFill runat="server" ID="ToolbarFill2">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnEdit" runat="server" Text="保存编辑" Icon="Add" ValidateForms="editFrom"
                        TabIndex="14" Type="Submit" OnClick="bnEdit_Click">
                    </ext:Button>
                    <ext:ToolbarSeparator runat="server" ID="ToolbarSeparator2">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="Cancel2" runat="server" Text="关闭" Icon="Decline">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Panel>
    <ext:Panel runat="server" ID="viewPanel" ShowBorder="false" ShowHeader="false" Hidden="true">
        <Items>
            <ext:Form runat="server" ID="ViewForm" ShowHeader="false" ShowBorder="false" EnableBackgroundColor="true"
                BodyPadding="5px">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="lb_pNO" Label="资产编号" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_name" Label="设备名称" runat="server">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="lb_brand" Label="品牌" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_model" Label="型号" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_functions" Label="设备功能" runat="server">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="lb_type" Label="设备类型" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_usetype" Label="用途" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_lab" Label="所属实验室" runat="server">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="lb_count" Label="数量" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_price" Label="价格" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_saller" Label="经销商" runat="server">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="lb_manager" Label="负责人" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_buydate" Label="购置日期" runat="server">
                            </ext:Label>
                            <ext:Label ID="lb_status" Label="设备状态" runat="server">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
            <ext:Grid ID="FixGrid" runat="server" PageSize="5" Title="设备维修记录" ShowHeader="true"
                EnableRowNumber="true" AllowPaging="true" Height="180px" Icon="BugFix">
                <Columns>
                    <ext:BoundField DataField="reportDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="填报日期" />
                    <ext:BoundField DataField="RepairTypeParam.value" HeaderText="维修类型" />
                    <ext:BoundField DataField="RepairCause" HeaderText="维修原因" />
                    <ext:BoundField DataField="allower" HeaderText="填报人" />
                    <ext:BoundField DataField="cost" DataFormatString="{0:C}" HeaderText="维修支出" />
                    <ext:BoundField DataField="result" HeaderText="维修结果" />
                    <ext:BoundField DataField="checker" HeaderText="验收人" />
                    <ext:CheckBoxField Width="76px" RenderAsStaticField="true" DataField="isReturn" HeaderText="反馈结果" />
                </Columns>
            </ext:Grid>
            <ext:Grid ID="RentGrid" runat="server" PageSize="5" Title="设备租借记录" ShowHeader="true"
                EnableRowNumber="true" AllowPaging="true" Height="180px" Icon="PackageGo">
                <Columns>
                    <ext:BoundField DataField="renter" HeaderText="借用人" />
                    <ext:BoundField DataField="rentDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="借出日期" />
                    <ext:BoundField DataField="used" HeaderText="用途" />
                    <ext:BoundField DataField="allower" HeaderText="批准人" />
                    <ext:BoundField DataField="timeDay" DataFormatString="{0} 天" HeaderText="借用时长" />
                    <ext:BoundField DataField="returnDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="归还日期" />
                    <ext:BoundField DataField="checker" HeaderText="验收人" />
                    <ext:CheckBoxField Width="76px" RenderAsStaticField="true" DataField="isReturn" HeaderText="已归还" />
                </Columns>
            </ext:Grid>
        </Items>
        <Toolbars>
            <ext:Toolbar ID="ToolbarView" runat="server" Position="Bottom">
                <Items>
                    <ext:Button ID="bnRent" Text="租借" runat="server" Icon="PackageGo" Hidden="true">
                    </ext:Button>
                    <ext:Button ID="bnReturn" Text="归还" runat="server" Icon="PackageGo" Hidden="true">
                    </ext:Button>
                    <ext:ToolbarSeparator runat="server">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="bnFix" Text="报修" runat="server" Icon="BugFix" Hidden="true">
                    </ext:Button>
                    <ext:Button ID="bnFixOK" Text="维修反馈" runat="server" Icon="BugFix" Hidden="true">
                    </ext:Button>
                    <ext:ToolbarSeparator runat="server">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="bnAbandon" Text="报废" runat="server" Icon="Cross">
                    </ext:Button>
                    <ext:ToolbarSeparator runat="server">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="bnWaiting" Text="待处理" runat="server" Icon="ComputerOff" OnClick="bnWaiting_Click"
                        Hidden="true">
                    </ext:Button>
                    <ext:Button ID="bnUsing" Text="在用" runat="server" Icon="ControlPlay" OnClick="bnUsing_Click"
                        Hidden="true">
                    </ext:Button>
                    <ext:ToolbarFill runat="server">
                    </ext:ToolbarFill>
                    <ext:Button ID="Close" Text="关闭" runat="server" Icon="Decline">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Panel>
    <ext:Panel runat="server" ID="abanPanel" ShowBorder="false" ShowHeader="false" Hidden="true">
        <Items>
            <ext:Form runat="server" ID="abanForm" ShowBorder="false" ShowHeader="false" BodyPadding="5px"
                EnableBackgroundColor="true">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="aban_pNO" runat="server" Label="设备编号">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="aban_name" runat="server" Label="设备名称">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="aban_type" runat="server" Label="设备类型">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox ID="aban_tb_cause" runat="server" Label="报废原因" Required="true" ShowRedStar="true">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox ID="aban_tb_checker" runat="server" Label="检查人" Required="true" ShowRedStar="true">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:DatePicker ID="aban_dp_date" runat="server" Label="报废日期" Required="true" ShowRedStar="true">
                            </ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
        <Toolbars>
            <ext:Toolbar runat="server" Position="Bottom">
                <Items>
                    <ext:ToolbarFill runat="server">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnAbanConfirm" Text="确认报废" runat="server" Icon="Cross" ValidateForms="abanForm"
                        Type="Submit" OnClick="bnAban_Click">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Panel>
    <ext:Panel runat="server" ID="rentPanel" ShowBorder="false" ShowHeader="false" Hidden="true">
        <Items>
            <ext:Form runat="server" ID="rentForm" ShowBorder="false" ShowHeader="false" BodyPadding="5px"
                EnableBackgroundColor="true">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="rent_lb_pNO" runat="server" Label="设备编号">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="rent_lb_name" runat="server" Label="设备名称">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="rent_tb_renter" Label="借用人" Required="true" ShowRedStar="true" TabIndex="1">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="rent_tb_renterTel" Label="联系电话" TabIndex="2">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="rent_tb_used" Label="租借用途" TabIndex="3">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="rent_tb_timeDay" Label="借用时长" EmptyText="单位：天" Required="true"  ShowRedStar="true"
                                TabIndex="4">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:DatePicker runat="server" ID="rent_dp_rentDate" Label="借出日期" Required="true"  ShowRedStar="true"
                                TabIndex="5">
                            </ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="rent_tb_allower" Label="批准人" Required="true"  ShowRedStar="true" TabIndex="6">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
        <Toolbars>
            <ext:Toolbar ID="Toolbar2" runat="server" Position="Bottom">
                <Items>
                    <ext:ToolbarFill ID="ToolbarFill3" runat="server">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnRentConfirm" Text="确认借出" runat="server" Icon="PackageGo" ValidateForms="rentForm"
                        Type="Submit" OnClick="bnRent_Click">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Panel>
    <ext:Panel runat="server" ID="returnPanel" ShowBorder="false" ShowHeader="false"
        Hidden="true">
        <Items>
            <ext:Form runat="server" ID="returnForm" ShowBorder="false" ShowHeader="false" BodyPadding="5px"
                EnableBackgroundColor="true">
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="return_lb_pNO" runat="server" Label="设备编号">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="return_lb_name" runat="server" Label="设备名称">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="return_lb_renter" runat="server" Label="借用人">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="return_lb_rentDate" runat="server" Label="借出日期">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="return_lb_timeDay" runat="server" Label="借用时长">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:Label ID="return_lb_allower" runat="server" Label="批准人">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:DatePicker runat="server" ID="return_dp_returnDate" Label="归还日期" Required="true">
                            </ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="return_tb_checker" Label="验收人" Required="true">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                        <Items>
                            <ext:RadioButtonList runat="server" ID="return_rbl_status" Label="入库状态" Required="true">
                                <ext:RadioItem Text="在用" Value="using" Selected="true" />
                                <ext:RadioItem Text="待处理" Value="wait" />
                            </ext:RadioButtonList>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow Hidden="true">
                        <Items>
                            <ext:HiddenField runat="server" ID="return_hf_rentID">
                            </ext:HiddenField>
                            <ext:HiddenField runat="server" ID="return_hf_EID">
                            </ext:HiddenField>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
        <Toolbars>
            <ext:Toolbar ID="Toolbar3" runat="server" Position="Bottom">
                <Items>
                    <ext:ToolbarFill ID="ToolbarFill4" runat="server">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnReturnConfirm" Text="确认归还" runat="server" Icon="PackageGo" ValidateForms="returnForm"
                        Type="Submit" OnClick="bnReturn_Click">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Panel>
    <ext:Panel runat="server" ID="repairPanel" ShowBorder="false" ShowHeader="false"
        Hidden="true">
        <Items>
        <ext:Form runat="server" ID="repairForm" ShowBorder="false" ShowHeader="false" BodyPadding="5px"
                EnableBackgroundColor="true">
                <Rows>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="repair_lb_pNO" Label="资产编号"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="repair_lb_name" Label="设备名称"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="repair_tb_cause" Label="报修原因"></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:DropDownList runat="server" ID="repair_dl_RepairType" Label="维修类型" Required="true" ShowRedStar="true"></ext:DropDownList>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:DatePicker runat="server" ID="repair_dp_reportDate" Label="填报日期" Required="true" ShowRedStar="true"></ext:DatePicker>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="repair_tb_timeDay" EmptyText="单位：天" Label="维修时长" ></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="repair_tb_budget" EmptyText="单位：元" Label="维修预算" Required="true" ShowRedStar="true"></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="repair_tb_allower" Label="填报人" Required="true" ShowRedStar="true"></ext:TextBox>
                </Items>
                </ext:FormRow>
                </Rows>
                </ext:Form>
        </Items>
        <Toolbars>
            <ext:Toolbar ID="Toolbar4" runat="server" Position="Bottom">
                <Items>
                    <ext:ToolbarFill ID="ToolbarFill5" runat="server">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnRepairConfirm" Text="报修登记" runat="server" Icon="BugFix" ValidateForms="repairForm"
                        Type="Submit" OnClick="bnRepair_Click">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        </ext:Panel>
        <ext:Panel runat="server" ID="fixokPanel" ShowBorder="false" ShowHeader="false"
        Hidden="true">
        <Items>
        <ext:Form runat="server" ID="fixokForm" ShowBorder="false" ShowHeader="false" BodyPadding="5px"
                EnableBackgroundColor="true">
                <Rows>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="fixok_lb_pNO" Label="资产编号"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="fixok_lb_name" Label="设备名称"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="fixok_lb_repairType" Label="维修类型"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="fixok_lb_cause" Label="报修原因"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:Label runat="server" ID="fixok_lb_reportDate" Label="报修日期"></ext:Label>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="fixok_tb_timeDay" EmptyText="单位：天" Label="维修时长（天）" ></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="fixok_tb_repairer" Label="维修人"  Required="true" ShowRedStar="true"></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="fixok_tb_cost" EmptyText="单位：元" Label="维修支出" Required="true" ShowRedStar="true"></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="fixok_tb_result" Label="维修结果" ></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:DatePicker runat="server" ID="fixok_dp_returnDate" Label="反馈日期" Required="true" ShowRedStar="true"></ext:DatePicker>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                <Items>
                <ext:TextBox runat="server" ID="fixok_tb_checker" Label="验收人" Required="true" ShowRedStar="true" ></ext:TextBox>
                </Items>
                </ext:FormRow>
                <ext:FormRow>
                        <Items>
                            <ext:RadioButtonList runat="server" ID="fixok_rbl_status" Label="入库状态" Required="true">
                                <ext:RadioItem Text="在用" Value="using" Selected="true" />
                                <ext:RadioItem Text="待处理" Value="wait" />
                            </ext:RadioButtonList>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow Hidden="true">
                    <Items>
                    <ext:HiddenField runat="server" ID="fixok_hf_id" Hidden="true"></ext:HiddenField>
                    </Items>
                    </ext:FormRow>
                </Rows>
                </ext:Form>
                </Items>
                <Toolbars>
            <ext:Toolbar ID="Toolbar5" runat="server" Position="Bottom">
                <Items>
                    <ext:ToolbarFill ID="ToolbarFill6" runat="server">
                    </ext:ToolbarFill>
                    <ext:Button ID="bnFixokConfirm" Text="提交" runat="server" Icon="BugFix" ValidateForms="fixokForm"
                        Type="Submit" OnClick="bnFixok_Click">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
                </ext:Panel>
    <ext:Window runat="server" ID="eq_window" Popup="false" EnableIFrame="true" Title="设备处理"
        IFrameUrl="about:blank" Target="Top" IsModal="true" Width="360px" Height="436px"
        EnableAjaxLoading="true">
    </ext:Window>
    </form>
</body>
</html>
